package com.zkthink.ceres.member.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 更改密码
 * </p>
 *
 * @author kellen
 * @since 2020-07-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "MemberUpdatePayPasswordDTO", description = "更改支付密码")
public class MemberUpdatePayPasswordDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会员id")
    @NotNull
    private Long mid;

    /**
     * 余额支付密码
     */
    @ApiModelProperty(value = "余额支付密码")
    private String payPassword;

    @ApiModelProperty(value = "电话", notes = "电话")
    @NotBlank(message = "电话必填项")
    private String phone;

    @ApiModelProperty(value = "验证码", notes = "必填项")
    @NotBlank(message = "验证码必填")
    private String code;

}
